<?php

class DateFormat{
	public static function format($date){
		$date = DateTime::createFromFormat('d-m-Y', $date);
		$date = $date->format("Y-m-d 23:59:59");

		return $date;
	}
}